#define Health_Variable

#include "userDef.h"

void HealthAct(void)
{
    if (ErrFlagQT == 0 && ErrFlag == 0 && b_power.run == ON)
    {
        if (e_fanStep.run != FANSTOP && b_health.set == ON && CapTestStat == 0)
        {
            f_Health = 1;
        }
        else
        {
            f_Health = 0;
        }
    }
    else
    {
        f_Health = 0;
    }
}
